﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 下架单明细
    /// </summary>
    [Table("T_PickingOrderDetail")]
    public class PickingOrderDetail
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
        /// <summary>
        /// 上架单Id
        /// </summary>
        public long? OrderId { get; set; }
        /// <summary>
        /// 垛条码
        /// </summary>
        [MaxLength(20)]
        public string PalletBarcode { get; set; }
        /// <summary>
        /// 包装条码
        /// </summary>
        [MaxLength(20)]
        public string PackBarcode { get; set; }
        /// <summary>
        /// 物料Id
        /// </summary>
        public long? MaterialId { get; set; }
        /// <summary>
        /// 物料条码
        /// </summary>
        [MaxLength(20)]
        public string MaterialBarcode { get; set; }
    }
}
